package com.cdivtc.management.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import java.util.List;

@Data
public class User {
    @Id
    @KeySql(useGeneratedKeys = true)
    private String uid;

    private String username;

    private String password;
    private String state;

    private List<Role> roles;

}